JMFrameKey
Dispatches a key event to a frame.
OSStatus JMFrameKey (JMFrameRef frame, char asciiChar, char keyCode, short modifiers);
frame
- The frame in which the key event occurred.
asciiChar
- The ASCII character being typed.
keyCode
- The machine key code being typed.
modifiers
- Any keyboard modifiers from the
EventRecord
. You can determine the ASCII character (and corresponding machine key code) fromEventRecord.message
. For more information about theEventRecord
data structure, see Inside Macintosh: Macintosh Toolbox Essentials.- function result
- A result code. See "JManager Result Codes" (page 69) for a list of result codes that JManager may return in this field.
DISCUSSION
The client application must keep track of the currently active frame.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help